of

public static Certificate of(X509Certificate x509Cert)

Returns the Certificate instance for the given X.509 certificate.


public static Certificate of(X509Certificate x509Cert, List<X509Certificate> intermediateX509Certs)

Returns the Certificate instance for the given X.509 certificate and the list of intermediate X.509 certificates associated with this the certificate that may be needed for chain building.

Since

7.24.5